The CDF_DOC procedure retrieves general documentation information about a Common Data Format file.
CDF_DOC, Id, Version, Release, Copyright [, INCREMENT=variable]
A CDF ID, returned from a previous call to CDF_OPEN or CDF_CREATE.
A named variable in which the version number of the CDF library that created the CDF is returned.
A named variable in which the release number of the CDF library that created the CDF is returned.
A named variable in which the copyright notice of the CDF library that created the CDF is returned.
Set this keyword to a named variable that will contain the increment of the CDF library that created the specified CDF file.
id=CDF_CREATE('VersionCheck') ; Create a CDF file.
CDF_DOC, id, vers, rel, copy, INCREMENT=incr
PRINT,'File Written Using CDF', vers, rel, incr, $
FORMAT='(A,I1,".",I1,"r",I2)'
CDF_CLOSE, id ; Close the CDF file.
File Written Using CDF2.6
Pre 4.0 |
Introduced |